home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Contributed Scores
/
Peter Stone Punctus
/
Final
< prev
next >
Wrap
Text File
|
1998-10-26
|
12KB
|
378 lines
; Here is some pseudo-classic from my archives back from 1990. It requires
; good-quality string samples. Bass is supposed to be finger-played contrabass,
; other instruments should be strings, also the topdown and goupp can be strings
; although I originally used something more percussive and thinner sounding
; instruments. A piano should be used for playing the piano parts. I'll leave
; it for your experimentations to restore the quantum stuff. It consists of
; 8 instruments, each playing rapidly random chromatic notes, each in a
; different octave. It used here very old symbol mechanism which did not port
; directly like the other stuff.
; ------ chord definition
(setq event '((c 3 f 3 g# 3) (c 3 f 3 a 3)))
(setq begin
(append
(transpose-chords event 0)
(transpose-chords event 5)
(transpose-chords event 10)
(transpose-chords event 15)
(transpose-chords event 20)
(transpose-chords event 25)
(transpose-chords event 30)
(transpose-chords event 35)
)
)
(setq door (transpose-chords '((c 3 f 3 a 3)) (plus 35 -24)))
(setq cathedral
(append
(transpose-chords event 0) ; dimi construction
(transpose-chords event 5) ;
(transpose-chords event 10) ;
(transpose-chords event 3) ;
(transpose-chords event 8) ;
(transpose-chords event 13) ;
(transpose-chords event 6) ;
(transpose-chords event 11) ;
(transpose-chords event 16) ;
(transpose-chords event 9) ;
(transpose-chords event 14) ;
(transpose-chords event 19) ;
)
)
(setq logic
(append
(transpose-chords event (plus 19 5))
(transpose-chords event (plus 19 10))
(transpose-chords event (plus 19 10 -7))
(transpose-chords event (plus 19 10 -7 5))
(transpose-chords event (plus 19 10 -7 10))
(transpose-chords event (plus 19 10 -7 10 -7))
(transpose-chords event (plus 19 10 -7 10 -7 5))
(transpose-chords event (plus 19 10 -7 10 -7 10))
)
)
(setq segments
(append
begin
door
cathedral
logic
)
)
(setq dimievent '((c 6 d# 6 f# 6 a 6)))
(setq dimichord
(append
dimievent
(transpose-chords dimievent 3)
(transpose-chords dimievent 6)
(transpose-chords dimievent 9)
)
)
; ----- quantum area
;
;(defun random-octave-symbol (n)
; (compress2 (list ': (symbol-transpose 'a (times n 12))
; (symbol-transpose 'a (plus 11 (times n 12))))))
;
;(setq q1 (list (random-octave-symbol 0)))
;(setq q2 (list (random-octave-symbol 1)))
;(setq q3 (list (random-octave-symbol 2)))
;(setq q4 (list (random-octave-symbol 3)))
;(setq q5 (list (random-octave-symbol 4)))
;(setq q6 (list (random-octave-symbol 5)))
;(setq q7 (list (random-octave-symbol 6)))
;(setq q8 (list (random-octave-symbol 7)))
;
;(setq quantum-string (repeat-string "-" (times 24 8)))
; --1(- bass strings for begin
(setq chromatic (activate-tonality (chromatic c 4)))
(setq chromatic0 (transpose-chords chromatic -12))
(setq downseq '(u t s r q p o n m l k j i h g f))
(setq b2mel
(append
'(u t s r q p o n)
(symbol-transpose 12 '(m l k j i h g f))
)
)
(setq b3mel
(append
'(u t s r)
(symbol-transpose 12 '(q p o n))
(symbol-transpose 24 '(m l k j))
(symbol-transpose 36 '(i h g f))
)
)
(defun repeat-string (s n)
(let ((out s))
(dotimes (i (1- n))
(setq out (str-cat out s)))
out))
(setq bass-string2 (repeat-string "- " 4))
(setq bass-strings (repeat-string "- " 16))
; ----- crypta melodies
(initdef)
(defsym a '(a b c))
(defsym b '(c a))
(setq crypta1 (symbol-trim 16 (gen-trans a 4)))
(setq crypta2 (symbol-inversion 'd crypta1))
(setq crypta1
(append
(symbol-transpose 0 crypta1)
(symbol-transpose 3 crypta1)
crypta1
(symbol-transpose -3 crypta1)
)
)
(setq crypta2
(append
(symbol-transpose 0 crypta2)
(symbol-transpose -3 crypta2)
crypta2
(symbol-transpose 3 crypta2)
)
)
; ----- cryptab
(setq cryptab1 (symbol-trim 16 (gen-trans b 5)))
(setq cryptab2 (symbol-inversion 'd cryptab1))
(setq cryptab1
(append
(symbol-transpose 0 cryptab1)
(symbol-transpose 3 cryptab1)
cryptab1
(symbol-transpose -3 cryptab1)
)
)
(setq cryptab2
(append
(symbol-transpose 0 cryptab2)
(symbol-transpose -3 cryptab2)
cryptab2
(symbol-transpose 3 cryptab2)
)
)
(setq crypta1 (append crypta1 cryptab1))
(setq crypta2 (append crypta2 cryptab2))
; ----- bassline rhythm
(setq bassline-string
(str-cat
(repeat-string "- -- - -- " 8)
(repeat-string "- - - - - - - - " 12)
(repeat-string "- --- --- --- --" 4)
)
)
; ----- crypta rhythm
(setq crypta-string (repeat-string "----------------" 4))
(setq goupp-element (symbol-transpose 0 '(a b c d e f g h i j k l)))
(setq goupp-bar
(append
goupp-element
(symbol-transpose 12 goupp-element)
(symbol-transpose 24 goupp-element)
(symbol-transpose 36 goupp-element)
)
)
(setq goupp-mel
(append
goupp-bar
(symbol-transpose 5 goupp-bar)
(symbol-transpose 10 goupp-bar)
(symbol-transpose 15 goupp-bar)
(symbol-transpose 20 goupp-bar)
(symbol-transpose 25 goupp-bar)
(symbol-transpose 30 goupp-bar)
(symbol-transpose 35 goupp-bar)
)
)
(setq godown-bar (symbol-transpose 1 (reverse goupp-bar)))
(setq topdown-mel
(append
goupp-bar
(symbol-transpose 5 goupp-bar)
(symbol-transpose 10 goupp-bar)
(symbol-transpose 15 goupp-bar)
(symbol-transpose 20 godown-bar)
(symbol-transpose 13 godown-bar)
(symbol-transpose 6 godown-bar)
(symbol-transpose -1 godown-bar)
(symbol-transpose 4 goupp-bar)
(symbol-transpose 9 goupp-bar)
(symbol-transpose 14 goupp-bar)
(symbol-transpose 19 goupp-bar)
(symbol-transpose 24 godown-bar)
(symbol-transpose 17 godown-bar)
(symbol-transpose 10 godown-bar)
(symbol-transpose 3 godown-bar)
)
)
(setq topdown-string (repeat-string "-" (length topdown-mel)))
(setq goupp-string (repeat-string "-" (length goupp-mel)))
; ----- fractal piano
(initdef)
(defsym a '(a b))
(defsym b '(c d))
(setq piano-mel (gen-trans a 7))
(setq piano-string (repeat-string "-" (length piano-mel)))
(def-rhythm
; 1 2 3 4
; |_______________|_______________|_______________|_______________|
; |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
strings '1/1 "-" (abc)
doorchr '1/1 "----" (abc)
string2 '1/16 "- - - - " (abc cde bcd abc)
string3 '1/1 "-" (abc)
dimistr '1/32 "- - - - - - - - - - - - - - - - " (a)
bass1 '1/1 "----------------" downseq
bass2 '1/1 "----------------" b2mel
bass3 '1/1 "----------------" b3mel
basstail '4/1 "----" (f)
; --crypta1--
bassline '1/16 bassline-string (a)
blc1 '1/16 crypta-string crypta1
whc1 '1/16 crypta-string crypta2
blc2 '1/16 crypta-string crypta1
whc2 '1/16 crypta-string crypta2
blc3 '1/16 crypta-string crypta1
whc3 '1/16 crypta-string crypta2
topdown '1/16t topdown-string topdown-mel
goupp '1/16t goupp-string goupp-mel
piano32 '1/32 piano-string piano-mel
piano16 '1/16 piano-string piano-mel
piano8 '1/8 piano-string piano-mel
;--quantum--
;quant1 '1/32t quantum-string q1
;quant2 '1/32t quantum-string q2
;quant3 '1/32t quantum-string q3
;quant4 '1/32t quantum-string q4
;quant5 '1/32t quantum-string q5
;quant6 '1/32t quantum-string q6
;quant7 '1/32t quantum-string q7
;quant8 '1/32t quantum-string q8
)
(def-channel
strings 2
string2 1
string3 1
doorchr 2
dimistr 3
bass1 4
bass2 4
bass3 4
basstail 5
bassline 6
blc1 7
whc1 8
blc2 7
whc2 8
blc3 7
whc3 8
goupp 9
topdown 9
piano32 11
piano16 11
piano8 11
;quant1
;quant2
;quant3
;quant4
;quant5
;quant6
;quant7
;quant8